﻿@model Romantics.Domain.Objects.Options
@using Romantics
<div class="sidebar">
  @if (!String.IsNullOrEmpty(Model.ContactPhone1))
  {
    <div class="row">
        <div class="post-category">
            <span>Тел:&nbsp;</span><span style="color:lightblue;">@Html.Raw(Model.ContactPhone1)</span>
            @if (!String.IsNullOrEmpty(Model.ContactName1))
            {
            <span>&nbsp;(&nbsp;@Html.Raw(Model.ContactName1)&nbsp;)</span>
            }
        </div>
    </div>
  }
  @if (!String.IsNullOrEmpty(Model.ContactPhone2))
  {
    <div class="row">
        <div class="post-category">
            <span>Тел:&nbsp;</span><span style="color:lightblue;">@Html.Raw(Model.ContactPhone2)</span>
            @if (!String.IsNullOrEmpty(Model.ContactName2))
            {
                <span>&nbsp;(&nbsp;@Html.Raw(Model.ContactName2)&nbsp;)</span>
            }
        </div>
    </div>
  }
  @if (!String.IsNullOrEmpty(Model.ContactPhone3))
  {
    <div class="row">
        <div class="post-category">
            <span>Тел:&nbsp;</span><span style="color:lightblue;">@Html.Raw(Model.ContactPhone3)</span>
            @if (!String.IsNullOrEmpty(Model.ContactName3))
            {
                <span>&nbsp;(&nbsp;@Html.Raw(Model.ContactName3)&nbsp;)</span>
            }
        </div>
    </div>
  }
</div>
